]> dgit.raspbian.org Git - gnome-shell.git/commitdiff
shellDBus: Move loading the interface XML to the top
authorSebastian Wick <sebastian.wick@redhat.com>
Sat, 21 Jun 2025 22:11:41 +0000 (00:11 +0200)
committerSebastian Wick <sebastian.wick@redhat.com>
Sun, 3 Aug 2025 01:34:28 +0000 (03:34 +0200)
Where the rest of the interfaces get loaded.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-shell/-/merge_requests/3751>

js/ui/shellDBus.js

index 0e2cf2b59e573531bea3b4e078239c37e4acbe6e..4f219e21f451f22735c56e068cf2e77c488e65e6 100644 (file)
@@ -14,6 +14,7 @@ import {DBusSenderChecker} from '../misc/util.js';
 import {ControlsState} from './overviewControls.js';
 
 const GnomeShellIface = loadInterfaceXML('org.gnome.Shell');
+const GnomeShellExtensionsIface = loadInterfaceXML('org.gnome.Shell.Extensions');
 const ScreenSaverIface = loadInterfaceXML('org.gnome.ScreenSaver');
 const ScreenTimeIface = loadInterfaceXML('org.gnome.Shell.ScreenTime');
 
@@ -410,8 +411,6 @@ export class GnomeShell {
     }
 }
 
-const GnomeShellExtensionsIface = loadInterfaceXML('org.gnome.Shell.Extensions');
-
 class GnomeShellExtensions {
     constructor() {
         this._dbusImpl = Gio.DBusExportedObject.wrapJSObject(GnomeShellExtensionsIface, this);